package role

import (
	logic "admin-gf/internal/logic/role"
	"context"

	"admin-gf/api/role/v1"
)

func (c *ControllerV1) AllRoles(ctx context.Context, req *v1.AllRolesReq) (res *v1.AllRolesRes, err error) {
	return logic.NewRoleLogic().GetAllRoles(ctx, req)
}
